pandas apply on a column (valus is of type set) to retrieve the first element pop results in error

welcome to shbcf.ru